package com.invengo.library_rfid.device;

import android.app.Application;

import com.invengo.library_rfid.classify.AnalyzeImpl;

import java.util.List;

public interface IDevice {

    void init(Application application);

    void openDevice();

    void closeDevice();

    void startScan(String cacheKey );

    void stopScan();

    boolean checkReaderConnection();

    void changeAnalyzeModel(AnalyzeImpl analyzeModel);

    void cleanCache(String cacheKey);

    boolean isReading();

    int[] getPowerMeter();
    int[] getPower();
     List<String> getDeviceList();
    void changeVoice(boolean needVoice);

    void playVoice();

    void playOhterVoice();
}
